
package br.com.bb.robot.controller;

public class LoginController {
    public Boolean keyIsCorrect(String key){      
        if((key.substring(0, 1).equalsIgnoreCase("F") && key.length() == 8 ))            
            return Boolean.TRUE;
        else 
            return Boolean.FALSE;
    }
    
    public Boolean passwordIsCorrect(String password){
        if(password.length()==8)            
            return Boolean.TRUE;
        else 
            return Boolean.FALSE;
    }
}
